package com.imonsoft.sqm.service.excel.EnvManageExcel;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.imonsoft.sqm.pojo.business.supplier_quality.EnvManage;


public interface EnvManageExcelService {
	/**
	 * 导出
	 * @param id
	 * @return
	 */
	public void getWorkBook(String []ids,HttpServletResponse response);
	public List<EnvManage> getEnvManageList(String ids);
	public void txExportExcel(HttpServletRequest request, Long id, HttpServletResponse response);
	/**
	 * 向所有过期的供应商发送邮件，不需要参数
	 */
	public void txSendMailByDateOut(HttpServletRequest request,HttpServletResponse response);
	
	/**
	 * 环境体系发送邮件
	 * @param qualitySystem
	 * @param user
	 * @param request
	 */
	public void txSendMail(HttpServletRequest request,HttpServletResponse response,String id,String toName,String toMail);
	/**
	 * 下载生成后的EXCEL
	 */
	public void txLoadJustExcel(HttpServletRequest request, Long id,
			HttpServletResponse response);
}
